package com.example.demo.api;

import com.example.demo.entity.BaseResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiMusic {

    @GET("artist/list")
    Call<BaseResponse> getArtists(@Query("limit") int limit,
                                  @Query("offset") int offset);

    @GET("artist/list")
    Call<BaseResponse> getArtists(@Query("limit") int limit,
                                  @Query("offset") int offset,
                                  @Query("area") int area);

    @GET("artist/list")
    Call<BaseResponse> getArtists(@Query("limit") int limit,
                                  @Query("offset") int offset,
                                  @Query("type") int type,
                                  @Query("area") int area);

    @GET("artist/list")
    Call<BaseResponse> getArtists();
}
